/*  
	------------------------------------------------------------------------
	 NQ Core Library
	
	 Homepage: http://www.awzhome.de/
	------------------------------------------------------------------------
	
	This Source Code Form is subject to the terms of the Mozilla Public
	License, v. 2.0. If a copy of the MPL was not distributed with this
	file, You can obtain one at http://mozilla.org/MPL/2.0/.
   
	The Original Code is code of NQ Core Library.

	The Initial Developer of the Original Code is Andreas Weizel.
	Portions created by the Initial Developer are
	Copyright (C) 2012 Andreas Weizel. All Rights Reserved.
	
	Contributor(s): (none)
	
	------------------------------------------------------------------------
*/

using System;

namespace AWZhome.NQ.Core
{
	/// <summary>
	/// Provides data for the event fired by the Service Manager on service instance creation.
	/// </summary>
	public class NQServiceCreatedEventArgs : EventArgs
	{
		private object createdService;

		/// <summary>
		/// Constructor initializing the object with the created service instance.
		/// </summary>
		/// <param name="createdService">The created service instance.</param>
		public NQServiceCreatedEventArgs(object createdService)
		{
			this.createdService = createdService;
		}

		/// <summary>
		/// Returns the created service instance.
		/// </summary>
		public object CreatedService
		{
			get
			{
				return createdService;
			}
		}
	}
}
